Automattic\Jetpack_Boost\Modules\CDN\CDN B

Total Complexity 84
Dependencies 6
Dependents 1
Total lines 427
Lines of code 291
Logical lines of code 157
Comment lines 47
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
flush_concatenated_scripts()
A
46 13 36
flush_concatenated_styles()
A
47 11 34
buffer_style()
S
57 6 18
register_concat_scripts()
S
59 5 14
rewrite_script_src()
S
62 5 11
rewrite_style_src()
S
62 5 11
generate_cdn_response()
S
51 3 29
pre_serve_request()
S
60 4 13
register_concat_styles()
S
62 4 12
should_concat_script()
S
69 3 6
is_local_url()
S
68 3 6
should_concat_style()
S
69 3 6
buffer_script()
S
68 3 7
register_rest_routes()
S
53 1 28
on_initialize()
S
54 1 19
should_cdn_style()
S
74 2 4
should_cdn_script()
S
74 2 4
set_jetpack_boost_plugin_instance()
S
81 1 3
render_concatenated_styles_footer()
S
77 1 4
render_concatenated_scripts_footer()
S
77 1 4
render_concatenated_scripts_head()
S
81 1 3
clear_cache()
S
82 1 3
render_concatenated_styles_head()
S
81 1 3
rest_serve_css()
S
78 1 3
rest_serve_js()
S
78 1 3
__construct()
S
75 1 4
rest_cdn_endpoint()
S
78 1 3